﻿using Harmontronics.Model.Dto.Model;
using Harmontronics.Model.Entitys;
using Harmontronics.Repository;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Harmontronics.DataAccess.IOperate.Business
{
    public interface IWorkShopOperate
    {
        //查询所有
        public List<WorkShop> GetAllWorkShopList();
        public WorkShop GetWorkShopById(string id);
        public List<WorkShop> GetWorkShopByIdList(List<string> ids);
        public void AddWorkShop(WorkShop entity);
        public void UpdateWorkShop(WorkShop model);
        public void DeleteWorkShop(WorkShop entity);
        public void BatchDelWorkShop(List<WorkShop> entity);
    }
}
